home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Fsymlink(2) Oct. 7, 1991 Fsymlink(2)
-
-
- N✓NA✓AM✓ME✓E
- Fsymlink - create a symbolic link to a file
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- LONG Fsymlink( char *oldname, char *newname );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓F_✓s_✓y_✓m_✓l_✓i_✓n_✓k creates a new symbolic link (a "soft link") for
- the file currently named _✓o_✓l_✓d_✓n_✓a_✓m_✓e. If the _✓F_✓s_✓y_✓m_✓l_✓i_✓n_✓k call is
- successful, then after the call the file may be referred
- to by either name. A call to _✓F_✓d_✓e_✓l_✓e_✓t_✓e on the new name will
- not affect the existence of the file, just of the symbolic
- link. A a call to _✓F_✓d_✓e_✓l_✓e_✓t_✓e with the name _✓o_✓l_✓d_✓n_✓a_✓m_✓e will
- actually delete the file, and future references with _✓n_✓e_✓w_✓-
- _✓n_✓a_✓m_✓e will fail.
-
- Unlike hard links, symbolic links may be made between
- files on different devices or even different types of file
- systems.
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- 0 on success
-
- EINVFN if the file system does not allow symbolic links
-
- An appropriate error code if the new symbolic link cannot
- be created.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓F_✓l_✓i_✓n_✓k(2), _✓F_✓r_✓e_✓a_✓d_✓l_✓i_✓n_✓k(2), _✓F_✓r_✓e_✓n_✓a_✓m_✓e(2)
-
- B✓BU✓UG✓GS✓S
- No check is made for the existence of the file named _✓o_✓l_✓d_✓-
- _✓n_✓a_✓m_✓e; this could be construed as a feature.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-